<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qfont.cpp -->
  <title>所有QFont成员的列表 | Qt GUI 5.12.3</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.12</a></td><td ><a href="qtgui-index.html">Qt GUI</a></td><td ><a href="qtgui-module.html">C++ 类</a></td><td >QFont</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtgui-index.html">Qt 5.12.3 参考指南</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">所有QFont成员的列表</h1>
<p>这是 <a href="qfont.html">QFont</a>兼容性的完整成员列表，包括继承的成员。</p>
<div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn">enum <span class="name"><b><a href="qfont.html#Capitalization-enum">Capitalization</a></b></span></li>
<li class="fn">enum <span class="name"><b><a href="qfont.html#HintingPreference-enum">HintingPreference</a></b></span></li>
<li class="fn">typedef <span class="name"><b><a href="qfont.html#QtGadgetHelper-typedef">QtGadgetHelper</a></b></span></li>
<li class="fn">enum <span class="name"><b><a href="qfont.html#SpacingType-enum">SpacingType</a></b></span></li>
<li class="fn">enum <span class="name"><b><a href="qfont.html#Stretch-enum">Stretch</a></b></span></li>
<li class="fn">enum <span class="name"><b><a href="qfont.html#Style-enum">Style</a></b></span></li>
<li class="fn">enum <span class="name"><b><a href="qfont.html#StyleHint-enum">StyleHint</a></b></span></li>
<li class="fn">enum <span class="name"><b><a href="qfont.html#StyleStrategy-enum">StyleStrategy</a></b></span></li>
<li class="fn">enum <span class="name"><b><a href="qfont.html#Weight-enum">Weight</a></b></span></li>
<li class="fn"><span class="name"><b><a href="qfont.html#QFont">QFont</a></b></span>()</li>
<li class="fn"><span class="name"><b><a href="qfont.html#QFont-1">QFont</a></b></span>(const QString &amp;, int , int , bool )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#QFont-2">QFont</a></b></span>(const QFont &amp;, QPaintDevice *)</li>
<li class="fn"><span class="name"><b><a href="qfont.html#QFont-3">QFont</a></b></span>(const QFont &amp;)</li>
<li class="fn"><span class="name"><b><a href="qfont.html#dtor.QFont">~QFont</a></b></span>()</li>
<li class="fn"><span class="name"><b><a href="qfont.html#bold">bold</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="qfont.html#capitalization">capitalization</a></b></span>() const : QFont::Capitalization</li>
<li class="fn"><span class="name"><b><a href="qfont.html#defaultFamily">defaultFamily</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="qfont.html#exactMatch">exactMatch</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="qfont.html#family">family</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="qfont.html#fixedPitch">fixedPitch</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="qfont.html#fromString">fromString</a></b></span>(const QString &amp;) : bool</li>
<li class="fn"><span class="name"><b><a href="qfont.html#hintingPreference">hintingPreference</a></b></span>() const : QFont::HintingPreference</li>
<li class="fn"><span class="name"><b><a href="qfont.html#insertSubstitution">insertSubstitution</a></b></span>(const QString &amp;, const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="qfont.html#insertSubstitutions">insertSubstitutions</a></b></span>(const QString &amp;, const QStringList &amp;)</li>
<li class="fn"><span class="name"><b><a href="qfont.html#isCopyOf">isCopyOf</a></b></span>(const QFont &amp;) const : bool</li>
<li class="fn"><span class="name"><b><a href="qfont.html#italic">italic</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="qfont.html#kerning">kerning</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="qfont.html#key">key</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="qfont.html#lastResortFamily">lastResortFamily</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="qfont.html#lastResortFont">lastResortFont</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="qfont.html#letterSpacing">letterSpacing</a></b></span>() const : qreal</li>
<li class="fn"><span class="name"><b><a href="qfont.html#letterSpacingType">letterSpacingType</a></b></span>() const : QFont::SpacingType</li>
<li class="fn"><span class="name"><b><a href="qfont.html#overline">overline</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="qfont.html#pixelSize">pixelSize</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="qfont.html#pointSize">pointSize</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="qfont.html#pointSizeF">pointSizeF</a></b></span>() const : qreal</li>
<li class="fn"><span class="name"><b><a href="qfont.html#qt_check_for_QGADGET_macro">qt_check_for_QGADGET_macro</a></b></span>()</li>
<li class="fn"><span class="name"><b><a href="qfont.html#removeSubstitutions">removeSubstitutions</a></b></span>(const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="qfont.html#resolve">resolve</a></b></span>(const QFont &amp;) const : QFont</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setBold">setBold</a></b></span>(bool )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setCapitalization">setCapitalization</a></b></span>(QFont::Capitalization )</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><span class="name"><b><a href="qfont.html#setFamily">setFamily</a></b></span>(const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setFixedPitch">setFixedPitch</a></b></span>(bool )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setHintingPreference">setHintingPreference</a></b></span>(QFont::HintingPreference )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setItalic">setItalic</a></b></span>(bool )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setKerning">setKerning</a></b></span>(bool )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setLetterSpacing">setLetterSpacing</a></b></span>(QFont::SpacingType , qreal )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setOverline">setOverline</a></b></span>(bool )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setPixelSize">setPixelSize</a></b></span>(int )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setPointSize">setPointSize</a></b></span>(int )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setPointSizeF">setPointSizeF</a></b></span>(qreal )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setStretch">setStretch</a></b></span>(int )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setStrikeOut">setStrikeOut</a></b></span>(bool )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setStyle">setStyle</a></b></span>(QFont::Style )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setStyleHint">setStyleHint</a></b></span>(QFont::StyleHint , QFont::StyleStrategy )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setStyleName">setStyleName</a></b></span>(const QString &amp;)</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setStyleStrategy">setStyleStrategy</a></b></span>(QFont::StyleStrategy )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setUnderline">setUnderline</a></b></span>(bool )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setWeight">setWeight</a></b></span>(int )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#setWordSpacing">setWordSpacing</a></b></span>(qreal )</li>
<li class="fn"><span class="name"><b><a href="qfont.html#staticMetaObject-var">staticMetaObject</a></b></span> : const QMetaObject</li>
<li class="fn"><span class="name"><b><a href="qfont.html#stretch">stretch</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="qfont.html#strikeOut">strikeOut</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="qfont.html#style">style</a></b></span>() const : QFont::Style</li>
<li class="fn"><span class="name"><b><a href="qfont.html#styleHint">styleHint</a></b></span>() const : QFont::StyleHint</li>
<li class="fn"><span class="name"><b><a href="qfont.html#styleName">styleName</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="qfont.html#styleStrategy">styleStrategy</a></b></span>() const : QFont::StyleStrategy</li>
<li class="fn"><span class="name"><b><a href="qfont.html#substitute">substitute</a></b></span>(const QString &amp;) : QString</li>
<li class="fn"><span class="name"><b><a href="qfont.html#substitutes">substitutes</a></b></span>(const QString &amp;) : QStringList</li>
<li class="fn"><span class="name"><b><a href="qfont.html#substitutions">substitutions</a></b></span>() : QStringList</li>
<li class="fn"><span class="name"><b><a href="qfont.html#swap">swap</a></b></span>(QFont &amp;)</li>
<li class="fn"><span class="name"><b><a href="qfont.html#toString">toString</a></b></span>() const : QString</li>
<li class="fn"><span class="name"><b><a href="qfont.html#underline">underline</a></b></span>() const : bool</li>
<li class="fn"><span class="name"><b><a href="qfont.html#weight">weight</a></b></span>() const : int</li>
<li class="fn"><span class="name"><b><a href="qfont.html#wordSpacing">wordSpacing</a></b></span>() const : qreal</li>
<li class="fn"><span class="name"><b><a href="qfont.html#operator-QVariant">operator QVariant</a></b></span>() const : QVariant</li>
<li class="fn"><span class="name"><b><a href="qfont.html#operator-not-eq">operator!=</a></b></span>(const QFont &amp;) const : bool</li>
<li class="fn"><span class="name"><b><a href="qfont.html#operator-lt">operator&lt;</a></b></span>(const QFont &amp;) const : bool</li>
<li class="fn"><span class="name"><b><a href="qfont.html#operator-eq">operator=</a></b></span>(const QFont &amp;) : QFont &amp;</li>
<li class="fn"><span class="name"><b><a href="qfont.html#operator-eq-1">operator=</a></b></span>(QFont &amp;&amp;) : QFont &amp;</li>
<li class="fn"><span class="name"><b><a href="qfont.html#operator-eq-eq">operator==</a></b></span>(const QFont &amp;) const : bool</li>
</ul>
</td></tr>
</table></div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
